package org.ricks.game.hotfix;

import org.ricks.ioc.RicksContext;
import org.ricks.ioc.anno.Controller;
import org.ricks.net.http.restful.annotation.Param;
import org.ricks.net.http.restful.annotation.RequestMapping;

@Controller
public class HotfixAction {
    @RequestMapping("/hotfix")
    public String hotfix(@Param("classBytes") byte[] classBytes) {
        return RicksContext.me().hotfixClass(classBytes);
    }
}